package com.wanmait.employment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.wanmait.employment.entity.Admin;

public interface AdminService extends IService<Admin> {
    Admin login(Admin admin);
    PageInfo<Admin> findAll(String name, int pageNum, int pageSize);
    Integer update(Admin admin);
    Integer delete(Integer id);
    Integer insert(Admin admin);

}
